<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<form id="pagerForm" method="post" action="#rel#">
</form>

<form rel="pagerForm" method="post" action="${ctx}/detail/dataDetail"
	class="pageForm required-validate"
	onsubmit="return dialogSearch(this);">
         <input type="hidden" name="pageNum" value="${page.current}" />
    <input type="hidden" name="pageSize" value="${page.pageSize}" />
    <input type="hidden" name="numPerPage" value="${page.pageSize}" />
	<input type="hidden" name="userId" value="${userId}" />
	<div class="pageContent">
		<div class="panelBar">
			<ul class="toolBar">
				<li ><a class="icon" title="确实要导出这些记录吗?"
					href="${ctx}/detail/detailExport" target="dwzExport"
					targetType="dialog"><span>导出EXCEL</span></a></li>
			</ul>
			</li>
		</div>




		<table class="table" width="100%" layoutH="81"  nowrapTD="false">
			<thead>
				<tr>
					<th align="center">用户</th>
					<th align="center">访问时间</th>
					<th align="center">时长</th>
					<th align="center">行为</th>
					<th align="center">来源</th>
					<th align="center">媒介</th>
					<th align="center">系列</th>
					<th align="center"  id="text">组</th>
					
					<th align="center" id="text">关键字</th>
					<th align="center">页面浏览数</th>

				</tr>
			</thead>
			<tbody>
				<c:forEach items="${page.data}" var="item">
					<tr target="sid" rel="${item.id}">
						<td>${item.userId}</td>
						<td><fmt:formatDate value="${item.startTime}"
								pattern="yyyy-MM-dd HH:mm:ss" /></td>
						<td>${item.timeLength}</td>
						<td ><span id="userBahavoiorTemp">${item.behaviorTemp}</span></td>
						<td>${item.utmcsr}</td>
						<td>${item.utmcmd}</td>
						<td>${item.utmccn}</td>
						<td  id="text">${item.utmcct}</td>
						
						<td id="text">${item.utmctr}</td>
						<td>${item.browserCount}</td>
					</tr>
				</c:forEach>

			</tbody>
		</table>
        <%@include file="/WEB-INF/view/commons/dialogPaging.jsp"%>
</form>
</div>
